<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use App\Service\App\UserInfoService;

class AppServiceProvider extends ServiceProvider
{
    /**
     * APP服务提供者
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('UserInfoService',function(){
            return new UserInfoService();
        });
    }
}
